package io.renren.po;

import org.springframework.data.annotation.Id;

import javax.validation.constraints.NotBlank;

/**
 * Created by ThinkPad on 2018/11/30.
 */
public class UserPoints {
    @Id
    private int id;

    @NotBlank(message = "缺少用户标识")
    private String userid;

    private int points;

    @NotBlank(message = "缺少操作类型")
    private String type;

    private int lxqd;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public int getPoints() {
        return points;
    }

    public void setPoints(int points) {
        this.points = points;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getLxqd() {
        return lxqd;
    }

    public void setLxqd(int lxqd) {
        this.lxqd = lxqd;
    }
}
